//
// Created by jsjxsy on 2022/6/30.
//
#include <stdio.h>
#include <math.h>
int main(void) {
  float val1 = 1.6;
  float val2 = 1.2;
  float val3 = 2.8;
  float val4 = 2.3;

  printf ("value1 = %.1lf\n", ceil(val1));
  printf ("value2 = %.1lf\n", ceil(val2));
  printf ("value3 = %.1lf\n", ceil(val3));
  printf ("value4 = %.1lf\n", ceil(val4));
  printf ("==========================\n");
  printf ("value1 = %.1lf\n", floor(val1));
  printf ("value2 = %.1lf\n", floor(val2));
  printf ("value3 = %.1lf\n", floor(val3));
  printf ("value4 = %.1lf\n", floor(val4));
  return 0;
}